<?php
/**
 * Created by PhpStorm.
 * User: gyq
 * Date: 2018/11/7
 * Time: 20:43
 */

namespace app\api\model;


use think\Model;

class ProductImage extends Model
{
    protected $hidden = ['delete_time','product_id','img_id'];
    public function imgUrl()
    {
        return $this->belongsTo('Image','img_id','id');
    }
}